furny.states
Class SummaryUIState<T extends IIndividual<T>>
java.lang.Object
com.jme3.app.state.AbstractAppState
ga.view.appstate.GUIState
furny.states.SummaryUIState<T>
- Type Parameters:
T
- The generic type of the individuals.
- All Implemented Interfaces:
- com.jme3.app.state.AppState
public class SummaryUIState<T extends IIndividual<T>>
- extends GUIState
This is an advanced app state which adds gui to the summary post state.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
Fields inherited from class com.jme3.app.state.AbstractAppState |
initialized |
Method Summary |
void |
cleanup()
|
void |
initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
|
void |
setEnabled(boolean enabled)
|
Methods inherited from class com.jme3.app.state.AbstractAppState |
isEnabled, isInitialized, postRender, render, stateAttached, stateDetached, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
private SummaryUIController<T extends IIndividual<T>> controller
niftyDisplay
private com.jme3.niftygui.NiftyJmeDisplay niftyDisplay
nifty
private de.lessvoid.nifty.Nifty nifty
audioRenderer
private com.jme3.audio.AudioRenderer audioRenderer
evaluator
private final IInteractiveFitnessEvaluator<T extends IIndividual<T>> evaluator
menuListener
private final MenuListener menuListener
SummaryUIState
public SummaryUIState(IInteractiveFitnessEvaluator<T> evaluator,
MenuListener menuListener)
- Instantiates a new summary ui state.
- Parameters:
evaluator
- the evaluatormenuListener
- the menu listener- Since:
- 12.08.2012
initialize
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
- Specified by:
initialize
in interface com.jme3.app.state.AppState
- Overrides:
initialize
in class GUIState
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface com.jme3.app.state.AppState
- Overrides:
setEnabled
in class GUIState
cleanup
public void cleanup()
- Specified by:
cleanup
in interface com.jme3.app.state.AppState
- Overrides:
cleanup
in class com.jme3.app.state.AbstractAppState